package com.wzdigit.wms.hm.client.req;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.xml.bind.annotation.*;
import java.io.Serializable;

@Data
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)

@XmlRootElement(name = "checkSNRequest", namespace = "http://pal.service.hm.wms.wzdigit.com")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "checkSNRequest", namespace = "http://pal.service.hm.wms.wzdigit.com")
public class SnListRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID号")
    @XmlElement(name = "ID", namespace = "http://pal.service.hm.wms.wzdigit.com")
    private Integer ID;

    @ApiModelProperty(value = "产品SN清单")
    @XmlElement(name = "SNList", namespace = "http://pal.service.hm.wms.wzdigit.com")
//    private List<String> SNList;
    private SNList SNList;

    @ApiModelProperty(value = "数量")
    @XmlElement(name = "QTY", namespace = "http://pal.service.hm.wms.wzdigit.com")
    private Integer QTY;
}
